package com.lhhu.demo.mapper;

import com.lhhu.demo.bean.BookMessage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/3/21 20:34
 * @Version 1.0
 */
@Repository
public interface SearchMapper {
    List<BookMessage> getBookByMoneyUp(String bookName);
    List<BookMessage> getBookByMoneyDown(String bookName);
    List<BookMessage> getBookByDiscountUp(String bookName);
    List<BookMessage> getBookByDiscountDown(String bookName);
    List<BookMessage> getBookByCategoryAndMoneyUp(String bookCategoryId);
    List<BookMessage> getBookByCategoryAndMoneyDown(String bookCategoryId);
    List<BookMessage> getBookByCategoryAndDiscountUp(String bookCategoryId);
    List<BookMessage> getBookByCategoryAndDiscountDown(String bookCategoryId);
}
